package com.beta.service;

import com.baomidou.framework.service.ISuperService;
import com.beta.entity.Receivers;
import com.beta.dto.user.ReceiverDto;

import java.util.List;

/**
 * Receivers 表数据服务层接口
 */
public interface IReceiversService extends ISuperService<Receivers> {

    ReceiverDto addReceiver(Integer userId, ReceiverDto receiver);

    ReceiverDto updateReceiver(Integer receiverId, ReceiverDto receiver);

    void deleteReceiver(Integer receiveId);

    List<ReceiverDto> getReceiversByUserId(Integer userId);

}